package experiment2.task2;

/**
 * @author 冯永龙
 * @date 2021/3/23 15:32
 */
public class Person implements PersonIntf{
    private String name;
    private String sex;
    private Integer age;
    private String idNo;
    private boolean isMerried;

    public Person() {
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    @Override
    public void setMerried(boolean merried) {
        isMerried = merried;
    }
}
